package www.reagnetbox.com.util;

import java.util.List;

public class ValidateUtil {
    public static boolean isStringValid(String string) {
        return string != null && !string.equals("");
    }

    public static boolean isListValid(List<?> list) {
        if (list != null) {
            return list.size() > 0;
        } else {
            return false;
        }
    }
}
